// 接收父进程发送的数据
process.on("message", (chunk) => {
    console.log(chunk);
});

// 向父进程发送数据
process.send("this is message from child process");
